ButtonsMappingEntry

A mapping entry that defines a ButtonsMappableAction to be triggered when the gamepad inputs produce a set of button events in the pressed state.

Constructors

Link copied to clipboard
constructor(@NonNull droneModel: Drone.Model, @NonNull action: ButtonsMappableAction, @NonNull buttonEvents: Set<ButtonEvent>)
Constructor.

Functions

Link copied to clipboard
open fun <ENTRY : MappingEntry?> as(@NonNull entryClass: Class<ENTRY>): ENTRY
Cast the entry to the specified subtype.
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
Gets the action to be triggered.
Link copied to clipboard
Gets the set of button events that triggers the action when pressed.
Link copied to clipboard
Gets the associated drone model.
Link copied to clipboard
Gets the entry type.
Link copied to clipboard
open fun hashCode(): Int